<?php

namespace App\controllers;

use Core\annotations\Bean;
use Core\annotations\DB;
use Core\annotations\RequestMapping;
use Core\init\MyDb;

/**
 * Class AbcController
 * @Bean()
 */
class AbcController
{
    /**
     * @DB(source="default")
     * @var MyDb
     */
    private $db;

    /**
     * @RequestMapping(path="/abc")
     */
    public function abc()
    {
//        return $this->db->testStr;
    }
}
